<!-- editCybersecurityReqForm.html -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑网络安全需求</title>
    <link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" />
    <style>
        .container { width: 98%; margin: 0 auto; }
        .form-group { margin-bottom: 15px; }
        .form-group label { display: block; margin-bottom: 5px; }
        .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 8px; box-sizing: border-box; }
    </style>
</head>
<body>
    <div class="container">
        <form class="layui-form" action="/editCybersecurityReq" method="post">
            <input type="hidden" name="id" value="{{ req.id }}">
            <div class="form-group">
                <label>分类</label>
                <input type="text" name="type" required lay-verify="required" placeholder="请输入分类" autocomplete="off" class="layui-input" value="{{ req.type }}">
            </div>
            <div class="form-group">
                <label>特性</label>
                <input type="text" name="feature" required lay-verify="required" placeholder="请输入特性" autocomplete="off" class="layui-input" value="{{ req.feature }}">
            </div>
            <div class="form-group">
                <label>OR名字</label>
                <input type="text" name="name_or" required lay-verify="required" placeholder="请输入OR名字" autocomplete="off" class="layui-input" value="{{ req.name_or }}">
            </div>
            <div class="form-group">
                <label>OR编号</label>
                <input type="text" name="code_or" required lay-verify="required" placeholder="请输入OR编号" autocomplete="off" class="layui-input" value="{{ req.code_or }}">
            </div>
            <div class="form-group">
                <label>OR描述</label>
                <textarea name="desc_or" required lay-verify="required" placeholder="请输入OR描述" class="layui-textarea">{{ req.desc_or }}</textarea>
            </div>
            <div class="form-group">
                <label>DR名字</label>
                <input type="text" name="name_dr" required lay-verify="required" placeholder="请输入DR名字" autocomplete="off" class="layui-input" value="{{ req.name_dr }}">
            </div>
            <div class="form-group">
                <label>DR编号</label>
                <input type="text" name="code_dr" required lay-verify="required" placeholder="请输入DR编号" autocomplete="off" class="layui-input" value="{{ req.code_dr }}">
            </div>
            <div class="form-group">
                <label>DR说明</label>
                <textarea name="desc_dr" required lay-verify="required" placeholder="请输入DR说明" class="layui-textarea">{{ req.desc_dr }}</textarea>
            </div>
            <div class="form-group">
                <label>状态</label>
                <input type="text" name="state" required lay-verify="required" placeholder="请输入状态" autocomplete="off" class="layui-input" value="{{ req.state }}">
            </div>
            <div class="form-group">
                <label>保证等级</label>
                <input type="text" name="ca_level" required lay-verify="required" placeholder="请输入保证等级" autocomplete="off" class="layui-input" value="{{ req.ca_level }}">
            </div>
            <div class="form-group">
                <label>需求依据</label>
                <input type="text" name="req_basis" required lay-verify="required" placeholder="请输入需求依据" autocomplete="off" class="layui-input" value="{{ req.req_basis }}">
            </div>
            <div class="form-group">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </form>
    </div>
    <script src="../../static/admin/layui2.9.13/layui.js" type="text/javascript" charset="utf-8"></script>
    <script>
        layui.use('form', function(){
            var form = layui.form;
        });
    </script>
</body>
</html>